package com.gientech.loancommon.vo;

import lombok.Data;

@Data
public class ResponseResult {

    private Integer code = 20000;
    private String msg = "success";
    private Object data;

    public ResponseResult(){}

    public ResponseResult(Object data){
        this.data = data;
    }

    public ResponseResult(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public ResponseResult(Integer code, String msg, Object data){
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}
